﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Gl_mes.DAL.MesDB
{
    [Serializable]
    [Table("material_type_list")]
    public class MaterialTypeList
    {
        /// <summary>
        /// ID，主键，自增长
        /// </summary>
        [Column("id"), Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        [Column("fname")]
        public string MatName { get; set; }


        /// <summary>
        /// 是否需要计点
        /// </summary>
        [Column("checkflag")]
        public bool? CheckFlag { get; set; }


        /// <summary>
        /// 是否新的物料
        /// </summary>
        [Column("newflag")]
        public bool? NewFlag { get; set; }
    }
}
